home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Computers
/
Creative Computers CD-ROM, Volume 1 (Legendary Design Technologies, Inc.)(1994).iso
/
commercial
/
inovatronics
/
edgedemo
/
edgeeditor
/
rexx
/
menu_opennewfile.edge
< prev
next >
Wrap
Text File
|
1994-11-17
|
587b
|
37 lines
/*
** $VER: Menu_OpenNewFile.edge 1.1 (Sunday 08-Aug-93 02:50:56)
**
** Open a new workfile and bring up the FileRequester so the
** user may select a file to load
**
** Written by Thomas liljetoft
*/
options results
/* get the users error-report level */
getenvvar _ge_errlevel
errlevel = result
/* open a new file*/
'new'
if RC == 0 then do
/* if succesfull, address the new window and call open */
address value result
'open'
end
if RC >= errlevel then do
/* something went wrong enough to be reported so report */
'fault'
'requestnotify' '"'result'"'
end
exit(0)